package com.fbn;

import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;
import java.util.Set;
import com.fbn.FlightSeat;
import java.util.HashSet;
import javax.persistence.ManyToMany;
import javax.persistence.CascadeType;

@RooJavaBean
@RooToString
@RooEntity
public class Segment {

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<FlightSeat> flightSeats = new HashSet<FlightSeat>();
}
